package com.lyx.server.controller;

import com.lyx.common.vo.R;
import com.lyx.server.service.UserLogService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * ⽤户⽇志表(UserLog)表控制层
 *
 * @author McMeloxD
 * @since 2024-08-12 19:08:26
 */
@RestController
@RequestMapping("server/userlog")
public class UserLogController {
    /**
     * 服务对象
     */
    @Resource
    private UserLogService service;

    @GetMapping("all")
    R queryByUId(Integer uid){
        return service.queryByUId(uid);
    }
}

